package tests;

import static org.junit.Assert.*;

import org.junit.Test;

import driver.*;
import classes.*;
import classesDummy.*;

public class ConfiguracioATest {
	
	private Configuracio confA;
	
	public ConfiguracioATest(){
		confA= new ConfiguracioA ();
	}
	
	@Test
	public void testConfiguracioA() {
		
		assertNotNull("Not working the constructor",confA);
		
	}

	
	@Test
	public void testGetAny() {
		assertTrue("getAny no correcte",confA.getAny()>1900);
		
	}

	@Test
	public void testGetMes() {
		assertTrue("getMes no correcte",confA.getMes()>=0 && confA.getMes()<12);
		
	}

	@Test
	public void testGetCampsIN() {
		assertNotNull("getCampsIN no correcte",confA.getCampsIN());
		
	}

	@Test
	public void testGetCampsOUT() {
		assertNotNull("getCampsOUT no correcte",confA.getCampsOUT());
		
	}

}
